﻿using Supremacy.Universe;
using Supremacy.Utility;

namespace SupremacyEditor.RacesModule
{
    /// <summary>
    /// Interaction logic for RaceEditor.xaml
    /// </summary>
    public partial class RaceEditor
    {
        public RaceEditor()
        {
            InitializeComponent();

            foreach (var planetType in EnumHelper.GetValues<PlanetType>())
            {
                switch (planetType)
                {
                    case PlanetType.Asteroids:
                    case PlanetType.Crystalline:
                    case PlanetType.GasGiant:
                        continue;
                    default:
                        HomePlanetTypeList.Items.Add(planetType);
                        break;
                }
            }
        }
    }
}
